package com.parenting.entities;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 平台审核退款
 * </p>
 *
 * @author 烟台业达-王世玺
 * @since 2021-10-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("order_approval")
@ApiModel(value="OrderApprovalDO对象", description="平台审核退款")
public class OrderApprovalDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "平台审核ID")
    @TableId(value = "ORDER_APPROVAL_ID", type = IdType.ASSIGN_UUID)
    private String orderApprovalId;

    @ApiModelProperty(value = "订单ID")
    private String orderId;

    @ApiModelProperty(value = "退款补充理由")
    private String reason;

    @ApiModelProperty(value = "订单状态;1待审批、2通过、3拒绝")
    private Integer orderState;

    @ApiModelProperty(value = "退款人姓名")
    private String userName;

    @ApiModelProperty(value = "拒绝理由")
    private String reasons;

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;


}
